package com.hl.ruoyicsmshop.service.impl;

import com.hl.ruoyicsmshop.domain.User;
import com.hl.ruoyicsmshop.mapper.LoginMapper;
import com.hl.ruoyicsmshop.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;
    @Override
    public User loginForId(String nickname, String password) {
        return loginMapper.loginForId(nickname, password);
    }
}
